package com.rk.sample;

import com.rk.dao.CustomerDao;
import com.rk.dao.DaoFactory;
import com.rk.entity.Customer;

import java.io.IOException;
import java.util.List;

public class SelectCustomer {
    public static void main(String[] args) throws IOException {
        CustomerDao dao= DaoFactory.getCustomerDao();
        List<Customer> customer=
        dao.selectCustomer();
        System.out.println("---Select Customer---");
        System.out.println(customer);
    }
}
